package com.xiaoyu.service;

import com.xiaoyu.model.Account;
import com.xiaoyu.model.Teacher;

import java.util.List;

public interface TeacherService {
    public List<Teacher> allTeacher();
    public Boolean deleteTeacher(Teacher teacher);
    public Boolean updateTeacher(Teacher teacher);
    public Boolean addTeacher(Teacher teacher, String post, Account account);
    public Teacher findOneTeacher(Teacher teacher);
    public Teacher findTeacher(Teacher teacher);

    Boolean addTeacherClient(Teacher teacher,Integer courseId, Integer cid);

    Boolean deleteTeacherClient(Teacher teacher);
}
